<%@page import="java.util.ArrayList"%>
<%@page import="org.quickbundle.orgauth.cache.RmAuthorizeCache"%>
<%@page import="org.quickbundle.orgauth.rmauthorize.vo.RmAuthorizeVo"%>
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ page import="java.util.List" %>
<%@page import="org.quickbundle.base.web.page.RmPageVo"%>
<%@page import="org.quickbundle.project.common.vo.RmCommonVo"%>
<%@page import="org.quickbundle.project.RmProjectHelper"%>
<%@page import="org.quickbundle.project.IGlobalConstants"%>
<%@ include file="/jsp/include/web/g.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<%@ include file="/jsp/include/rmGlobal.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><bean:message key="qb.web_title"/></title>
<script type="text/javascript">

	var rmActionName = "RmPartyAction";
	function deleteMulti_onClick(){  //从多选框物理删除多条记录
 		var ids = findSelections("checkbox_template","id");  //取得多选框的选择项
		if(ids == null)	{  //如果ids为空
			alert("请选择记录!")
			return;
		}
		if(confirm("是否彻底删除该数据？")) {  //如果用户在确认对话框按"确定"
			form.authorize_resource_ids.value = ids;
	    	form.action="<%=request.getContextPath()%>/" + rmActionName + ".do?cmd=deleteRm_authorize_resource_record";
	    	form.submit();
		}
	}
<%-- 	function add_onClick() {  //到增加记录页面
		var inputValueName = new Object();
		getReference(new Array(form.old_resource_ids, inputValueName), '<%=request.getContextPath()%>/', '<%=request.getContextPath()%>/RmAuthorizeResourceConditionAction.do?cmd=queryReference&referenceInputType=checkbox&bs_keyword=<%=bs_keyword%>');
		if(form.old_resource_ids.value != "") {
	    	form.action="<%=request.getContextPath()%>/" + rmActionName + ".do?cmd=insertRm_authorize_resource_record";
	    	form.submit();
		}
	} --%>
</script>
</head>
<body>
<dfhc:template templateUrl="/pubController/getLayoutTemp/?jspUrl=/temp/huiBodyTemp" >	 
 	<dfhc:region name="searchRegion"> 
	<form name="searchForm" id="searchForm" action="">
 	<dfhc:div templateId="h_ui_div_search">
 		用户：
		<dfhc:input templateId="h_ui_search_input" placeholder="输入用户名" id="name" name="name"/>
		登录账号：
		<dfhc:input templateId="h_ui_search_input" placeholder="输入登录账号" id="login_id" name="login_id"/>
		<%-- 组织:
 	    <dfhc:input templateId="h_ui_search_input" value="${bean.attribute1}" placeholder="点击选择组织" id="organizationName" name="organizationName"  readonly="true" />
		<input type="hidden" id="organization_id" value="${bean.organization_id}" name="organization_id" />
		锁定状态：
		<dfhc:select templateId="h_ui_select" size="1" name="lock_status" id="lock_status" pleaseSelect="1" defaultValue="${bean.lock_status}" sqlOption="code" code="<%=IRmUserConstants.DICTIONARY_RM_LOCK_STATUS%>" />	
		 --%>邮箱：
		<dfhc:input templateId="h_ui_search_input" placeholder="输入邮箱" id="email" name="email"/>
		<dfhc:button templateId="h_ui_search_button"  onclick="javascript:_searchData();" />
		<dfhc:button templateId="h_ui_reset_button"  onclick="javascript:_reset('#searchForm');" />
	</dfhc:div> 
	</form>
     </dfhc:region> 
     <dfhc:region name="buttonRegion">
        <dfhc:div templateId="h_ui_div_table_button">
        <dfhc:span templateId="h_ui_button_span">
         <dfhc:button templateId="h_ui_add_button" onclick="_('新增','${pageContext.request.contextPath }/newRmUser/addPage','850','650')" />
		 <dfhc:button templateId="h_ui_delete_button" onclick="s('${pageContext.request.contextPath }/newRmUser/delete')" />
		</dfhc:span>
		<dfhc:span templateId="h_ui_total_record_num_span">${RM_PAGE_VO.recordCount}</dfhc:span>		
	    </dfhc:div>		       
     </dfhc:region> 
    <dfhc:region name="tableRegion">
    	<dfhc:table templateId="table_h_ui" >    	
		<dfhc:thead>
			<dfhc:tr> 
				<dfhc:th width="25">
				   <dfhc:checkbox name="allId" />
				</dfhc:th>	
				
				<dfhc:th width="100">
				   <dfhc:title templateId="title_h_ui" >名称:</dfhc:title>
				</dfhc:th>
				
			</dfhc:tr>
    	   </dfhc:thead>			
		</dfhc:table>           
     </dfhc:region>        
     <dfhc:region name="footer"> 
     </dfhc:region> 
</dfhc:template>  
</body>
</html>
							